﻿namespace HouseKeeperCore.Elemental
{
    /// <summary>
    ///  An implmentation of IEntity
    /// </summary>
    public class Entity : IdentifiableObject, IEntity
    {
        #region Constructors

        /// <summary>
        ///  Instantiates an entity with specified ID
        /// </summary>
        /// <param name="id">The unique ID assigned to this entity</param>
        public Entity(long id)
            : base(id)
        {
        }

        /// <summary>
        ///  Finalises the entity
        /// </summary>
        ~Entity()
        {
            Dispose(false);
        }

        #endregion
    }
}
